package com.cdks.wuxiu.api.component.constant;

/**
 * 通话常量
 */
public enum CallEnum {
    END_BY_CALLER(1, "主叫挂断"),
    END_BY_ANSWER(2, "被叫挂断"),
    END_BY_TIMEOUT(3, "接听超时"),
    END_BY_BUSY(4, "被叫忙碌"),
    END_BY_SYSTEM(5, "系统挂断");


    private final Integer code;
    private final String desc;

    CallEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
